-- GENERATED SPELL FOR [Dr. Boom] --


function spell0_20284(pUnit, Event) --@Throw Dynamite,n/a--
pUnit:FullCastSpellOnTarget(35276,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_20284', 695, 1)
end

function Sorts_20284(pUnit, Event)
local choix_sorts_20284 = math.random(0, 0)
if choix_sorts_20284 == 0 then
pUnit:RegisterEvent('spell0_20284', 1, 1)
end
end

function mob20284_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_20284', math.random(1500, 3000), 1)
end

function mob20284_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob20284_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob20284_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(20284, 1, 'mob20284_Action')
RegisterUnitEvent(20284, 2, 'mob20284_Leave')
RegisterUnitEvent(20284, 3, 'mob20284_Kill')
RegisterUnitEvent(20284, 4, 'mob20284_Die')
